var stripe = function () {
	//var table = document.all.getElementById("auto_table");	//ֻһضIDʶı
	var tables = document.all.tags("table");//ֻΪauto_tabletable
	for (var j=0; j<tables.length; j++) 
	{
			var table = tables(j);
			if (table.id == "auto_table") {
					var trs = table.getElementsByTagName("tr");
					var even = true;
					//alert(trs);
					for (var i = 0; i < trs.length; i++) {
						//alert(even);
						trs[i].onmouseover = function () {
							this.className += " ruled";
							return false;
						};
						trs[i].onmouseout = function () {
							this.className = this.className.replace("ruled", "");
							return false;
						};
						if (!even) {
							trs[i].className += " even";
						}
						even = !even;
					}
			}
	}
};
function initIt()
{
	divCount = document.all.tags("tbody");
	for (i=0; i<divCount.length; i++) 
	{
		obj = divCount(i);
		temp=obj.id.substring(0,6);
		if (temp== "folder") obj.style.display = "none";
	}
}
function show(Str)
{
	document.all(Str).style.display='block';
}
function closeleft()
{
	document.getElementById("leftForm").width="10";
	document.all("leftmain").style.display='none';
	window.parent.mmxxx.cols="20,*";//设置父框架左右两边的大小
	
	window.picspanxxx.innerHTML="<a onclick=\"openleft()\"><img src=\"images/jiantou_2.gif\" /></a>";
}
function openleft()
{
	window.parent.mmxxx.cols="204,*";//设置父框架左右两边的大小
	document.all("leftmain").style.display='block';
	document.getElementById("leftForm").width="188";
	window.picspanxxx.innerHTML="<a onclick=\"closeleft()\"><img src=\"images/jiantou.gif\" /></a>";
}

window.onload = stripe;